﻿@{
    ViewBag.Title = "Feedback from customers";
    Layout = "~/Areas/Administrator/Views/Shared/_AdminLayout.cshtml";
}
@using Helper
<script src="@Url.ContentArea("~/Content/javascript/customeridea.js")" type="text/javascript"></script>
<div class="head">
    <div class="isw-grid">
    </div>
    <h1>
        Feedback from customers</h1>
    <div class="clear">
    </div>
</div>
@if (Helper.SessionManagement.Value("pvalue").Contains("R"))
{
    <div class="block-fluid tabs">
        <ul>
            <li><a href="#tabs-1">Contact from customer</a></li>
            <li><a href="#tabs-2">Feedback</a></li>           
        </ul>
        <div class="warning-area">
        </div>
        <div class="clear">
        </div>
        <div id="tabs-1">
            <div class="block-fluid table-sorting">
                <div class="row-fluid">
                    @Html.Action("_ShowIdeaByType", "CustomerIdeaManager", new { typeid = (int)ValueDefine.CustomerIdea.Contact })
                </div>
            </div>
        </div>
        <div id="tabs-2">
            <div class="block-fluid table-sorting">
                <div class="row-fluid">
                    @Html.Action("_ShowIdeaByType", "CustomerIdeaManager", new { typeid = (int)ValueDefine.CustomerIdea.Feeback })
                </div>
            </div>
        </div>
       
    </div>
}
else
{
    <span>Not permission</span> 
}
<script type="text/javascript">
    ///Document Ready jQuery
    $(document).ready(function () {
        reloadGridCustomerIdea(2);
        reloadGridCustomerIdea(4);

    });
</script>
